<?php
/**
 * Created by PhpStorm.
 * User: jocky
 * Date: 2017/7/20
 * Time: 下午1:07
 */
$list=json_decode($list['value_id']);
?>
<div class="row">
    <div class="col-md-12 col-sm-12 col-xs-12">
        <ul class="nav nav-tabs bar_tabs" role="tablist">
            <li role="presentation" class="active">
                <a href="#trade_info_content1" role="tab" data-toggle="tab"
                   aria-expanded="true">
                    支付信息
                </a>
            </li>
        </ul>
        <div class="tab-pane fade active in" id="trade_info_content1">
            <form class="form-horizontal form-label-left" style="max-height: 500px;overflow-y: scroll;" id="form_Pay">

                <div class="form-group">
                    <label class="control-label col-md-3 col-sm-3 col-xs-12">账户号</label>
                    <div class="col-md-7 col-sm-7 col-xs-12">
                        <div class="input-group" style="width: 100%">
                            <input type="text" class="form-control"
                                   name="username"
                                   placeholder="请输入第三方商户账号"
                                   value=<?=$list->username?$list->username:''?>
                                   />
                        </div>
                    </div>
                </div>

                <div class="form-group">
                    <label class="control-label col-md-3 col-sm-3 col-xs-12">秘钥ORKEY</label>
                    <div class="col-md-7 col-sm-7 col-xs-12">
                        <div class="input-group" style="width: 100%">
                            <input type="text" class="form-control"
                                   name="key"
                                   placeholder="请输入第三方支付秘钥或者KEY"
                                   value=<?=$list->key?$list->key:''?>
                                   />
                        </div>
                    </div>
                </div>

                <div class="form-group">
                    <label class="control-label col-md-3 col-sm-3 col-xs-12">APPID</label>
                    <div class="col-md-7 col-sm-7 col-xs-12">
                        <div class="input-group" style="width: 100%">
                            <input type="text" class="form-control"
                                   name="appid"
                                   placeholder="请输入appid"
                                   value=<?=$list->appid?$list->appid:''?>
                            />
                        </div>
                    </div>
                </div>

<!--                <div class="form-group">-->
<!--                    <label class="control-label col-md-3 col-sm-3 col-xs-12">公钥</label>-->
<!--                    <div class="col-md-7 col-sm-7 col-xs-12">-->
<!--                        <div class="input-group" style="width: 100%">-->
<!--                            <input type="file" class="file form-control"-->
<!--                                   name="public_add"-->
<!--                                   placeholder="请输入第三方支付公钥"-->
<!--                                   id="key01"-->
<!--                                   data-show-preview="false"-->
<!--                                   /><font>第三方支付两个字简写首字母+"public"(无，可空)</font>-->
<!--                        </div>-->
<!--                    </div>-->
<!--                </div>-->

<!--                <div class="form-group">-->
<!--                    <label class="control-label col-md-3 col-sm-3 col-xs-12">私钥</label>-->
<!--                    <div class="col-md-7 col-sm-7 col-xs-12">-->
<!--                        <div class="input-group" style="width: 100%">-->
<!--                            <input type="file" class="file form-control"-->
<!--                                   name="private_add"-->
<!--                                   id="key02"-->
<!--                                   data-show-preview="false"-->
<!--                                   placeholder="请输入第三方支付秘钥"-->
<!--                            /><font>第三方支付两个字简写首字母+"private"(无，可空)</font>-->
<!--                        </div>-->
<!--                    </div>-->
<!--                </div>-->

                <div class="form-group">
                <span class="input-group-btn">
                       <button type="button" class="btn btn-primary btn-block"
                      onclick="PayObj.submits(<?=$id;?>)">
                      提交
                    </button>
                 </span>
                </div>

            </form>
        </div>
    </div>
</div>
